.promotion-page {
  background-color: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 20px;
}

/* 二维码区域样式 */
.qrcode-section {
  background-color: #fff;
  margin: 10px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qrcode-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.qrcode-image {
  width: 200px;
  height: 200px;
  margin-bottom: 10px;
  border: 1px solid #e8e8e8;
}

.qrcode-desc {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.qrcode-actions {
  display: flex;
  justify-content: space-around;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px;
}

.action-text {
  margin-top: 5px;
  font-size: 14px;
  color: #666;
}

/* 标签栏样式 */
.tab-bar {
  display: flex;
  background-color: #fff;
  margin: 10px;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab {
  flex: 1;
  padding: 12px 0;
  text-align: center;
  border-radius: 6px;
}

.tab.active {
  background-color: #1890ff;
}

.tab-text {
  font-size: 15px;
  color: #666;
}

.tab.active .tab-text {
  color: #fff;
  font-weight: 500;
}

/* 加载状态样式 */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  color: #999;
}

/* 滚动容器样式 */
.promotion-scroll {
  flex: 1;
  margin: 0 10px;
}

/* 推广活动项样式 */
.promotion-item {
  background-color: #fff;
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.promotion-image-container {
  position: relative;
  width: 100%;
  height: 180px;
}

.promotion-image {
  width: 100%;
  height: 100%;
}

.promotion-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 12px;
}

.status-text {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.promotion-content {
  padding: 15px;
}

.promotion-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.promotion-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  flex: 1;
  margin-right: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.promotion-discount {
  background-color: #fff2e8;
  padding: 4px 10px;
  border-radius: 12px;
}

.discount-text {
  color: #fa541c;
  font-size: 14px;
  font-weight: 500;
}

.promotion-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.promotion-period {
  font-size: 13px;
  color: #999;
  margin-bottom: 15px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1890ff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  margin-top: 5px;
}

.share-btn-text {
  margin-left: 5px;
  font-size: 14px;
  font-weight: 500;
}

/* 空状态样式 */
.empty-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 300px;
  color: #999;
}

.empty-text {
  margin-top: 15px;
  font-size: 16px;
}

/* 响应式调整 */
@media (max-width: 375px) {
  .qrcode-image {
    width: 180px;
    height: 180px;
  }
  
  .promotion-image-container {
    height: 160px;
  }
}

@media (min-width: 414px) {
  .qrcode-image {
    width: 220px;
    height: 220px;
  }
  
  .promotion-image-container {
    height: 200px;
  }
}